<!DOCTYPE html>
<html>
    <head>
        <script src="../vue.global.js"></script>
    </head>
    <body>
        <div id="app">
            <a v-bind:href="url">点我</a>
        </div>
        <script>
            Vue.createApp({
                data(){
                    return{
                        url:'https://www.baidu.com'
                    };
                }
            }).mount('#app');
        </script>
    </body>
</html>